import axios from '@/utils/api.request'

export function experimentalData(params) {
  return axios.request({
    url: "/blade-screen/LargeScreen/getHarmonicData",
    method: "get",
    params,
  });
}
export function deviceEnvData(params) {
  return axios.request({
    url: "/blade-screen/LargeScreen/getEnvironment",
    method: "get",
    params,
  });
}
/*能耗数据*/
export function energyData(params) {
  return axios.request({
    url: "/blade-screen/LargeScreen/getEnergyAnalysis",
    method: "get",
    params,
  });
}
/*谐波列表*/
export function harmonicsData(params) {
  return axios.request({
    url: "/blade-screen/LargeScreen/getHarmonicsPage",
    method: "get",
    params,
  });
}
/*数据告警*/
export function warningData(params) {
  return axios.request({
    url: "/blade-platform/productdevicealarmlog/list",
    method: "get",
    params,
  });
}
